package com.musemun.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.musemun.mapper.RoleMapper;
import com.musemun.pojo.Role;
import com.musemun.service.RoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements RoleService {
    @Resource
    RoleMapper roleMapper;
    public List<Role> getAllRolesByEno(long id){
        return roleMapper.getAllRolesByEno(id);
    }
}
